<div class="detallePias index">
	<h2><?php echo __('Detalle Pias'); ?></h2>
	<table cellpadding="0" cellspacing="0">
	<thead>
	<tr>
			<th><?php echo $this->Paginator->sort('id'); ?></th>
			<th><?php echo $this->Paginator->sort('pia_id'); ?></th>
			<th><?php echo $this->Paginator->sort('clasificador_id'); ?></th>
			<th><?php echo $this->Paginator->sort('ene'); ?></th>
			<th><?php echo $this->Paginator->sort('feb'); ?></th>
			<th><?php echo $this->Paginator->sort('mar'); ?></th>
			<th><?php echo $this->Paginator->sort('abr'); ?></th>
			<th><?php echo $this->Paginator->sort('may'); ?></th>
			<th><?php echo $this->Paginator->sort('jun'); ?></th>
			<th><?php echo $this->Paginator->sort('jul'); ?></th>
			<th><?php echo $this->Paginator->sort('ago'); ?></th>
			<th><?php echo $this->Paginator->sort('sep'); ?></th>
			<th><?php echo $this->Paginator->sort('oct'); ?></th>
			<th><?php echo $this->Paginator->sort('nov'); ?></th>
			<th><?php echo $this->Paginator->sort('dic'); ?></th>
			<!--<th><?php # echo $this->Paginator->sort('estado'); ?></th>-->
			<!--<th class="actions"><?php # echo __('Actions'); ?></th>-->
	</tr>
	</thead>
	<tbody>
	<?php foreach ($detallePias as $detallePia): ?>
	<tr>
		<td><?php echo h($detallePia['DetallePia']['id']); ?>&nbsp;</td>
		<td>
			<?php echo $this->Html->link($detallePia['Pia']['id'], array('controller' => 'pias', 'action' => 'view', $detallePia['Pia']['id'])); ?>
		</td>
		<td>
			<?php echo $this->Html->link($detallePia['Clasificador']['title'], array('controller' => 'clasificadors', 'action' => 'view', $detallePia['Clasificador']['id'])); ?>
		</td>
		<td><?php echo h($detallePia['DetallePia']['ene']); ?>&nbsp;</td>
		<td><?php echo h($detallePia['DetallePia']['feb']); ?>&nbsp;</td>
		<td><?php echo h($detallePia['DetallePia']['mar']); ?>&nbsp;</td>
		<td><?php echo h($detallePia['DetallePia']['abr']); ?>&nbsp;</td>
		<td><?php echo h($detallePia['DetallePia']['may']); ?>&nbsp;</td>
		<td><?php echo h($detallePia['DetallePia']['jun']); ?>&nbsp;</td>
		<td><?php echo h($detallePia['DetallePia']['jul']); ?>&nbsp;</td>
		<td><?php echo h($detallePia['DetallePia']['ago']); ?>&nbsp;</td>
		<td><?php echo h($detallePia['DetallePia']['sep']); ?>&nbsp;</td>
		<td><?php echo h($detallePia['DetallePia']['oct']); ?>&nbsp;</td>
		<td><?php echo h($detallePia['DetallePia']['nov']); ?>&nbsp;</td>
		<td><?php echo h($detallePia['DetallePia']['dic']); ?>&nbsp;</td>
		<!--<td><?php # echo h($detallePia['DetallePia']['estado']); ?>&nbsp;</td>-->
		<td class="actions">
			<?php # echo $this->Html->link(__('View'), array('action' => 'view', $detallePia['DetallePia']['id'])); ?>
			<?php # echo $this->Html->link(__('Edit'), array('action' => 'edit', $detallePia['DetallePia']['id'])); ?>
			<?php # echo $this->Form->postLink(__('Delete'), array('action' => 'delete', $detallePia['DetallePia']['id']), array(), __('Are you sure you want to delete # %s?', $detallePia['DetallePia']['id'])); ?>
		</td>
	</tr>
<?php endforeach; ?>
	</tbody>
	</table>
	<p>
	<?php
	echo $this->Paginator->counter(array(
	'format' => __('Page {:page} of {:pages}, showing {:current} records out of {:count} total, starting on record {:start}, ending on {:end}')
	));
	?>	</p>
	<div class="paging">
	<?php
		echo $this->Paginator->prev('< ' . __('previous'), array(), null, array('class' => 'prev disabled'));
		echo $this->Paginator->numbers(array('separator' => ''));
		echo $this->Paginator->next(__('next') . ' >', array(), null, array('class' => 'next disabled'));
	?>
	</div>
</div>
<div class="actions">
	<h3><?php echo __('Actions'); ?></h3>
	<ul>
		<li><?php # echo $this->Html->link(__('New Detalle Pia'), array('action' => 'add')); ?></li>
		<li><?php echo $this->Html->link(__('List Pias'), array('controller' => 'pias', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Pia'), array('controller' => 'pias', 'action' => 'add')); ?> </li>

		<li><?php # echo $this->Html->link(__('List Clasificadors'), array('controller' => 'clasificadors', 'action' => 'index')); ?> </li>
		<li><?php # echo $this->Html->link(__('New Clasificador'), array('controller' => 'clasificadors', 'action' => 'add')); ?> </li>
	</ul>
</div>
